<?php

/**
 * Created by Reliese Model.
 * Date: Thu, 21 Sep 2017 02:03:25 +0000.
 */

namespace App\Models;

use Reliese\Database\Eloquent\Model as Eloquent;

/**
 * Class QdcsClass
 * 
 * @property int $id
 * @property string $name
 * @property string $imgurl
 * @property int $parent_id
 * @property int $sort
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 * @property bool $is_delete
 *
 * @package App\Models
 */
class QdcsClass extends Eloquent
{
	protected $table = 'qdcs_class';

	protected $casts = [
		'parent_id' => 'int',
		'sort' => 'int',
		'is_delete' => 'bool'
	];

	protected $fillable = [
		'name',
		'imgurl',
		'parent_id',
		'sort',
		'is_delete'
	];
}
